<script language="javascript" type="text/javascript" src="__PUBLIC__/js/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript">
  /**
   * [change description]
   * @param  {[type]} startDate [description]
   * @param  {[type]} endDate   [description]
   * @return {[type]}           [description]
   */
  function set_click(startDate,endDate)
  { 
    var start_Date = $('#'+startDate).val();
    var end_Date = $('#'+endDate).val();
    $('.'+startDate).val(start_Date);
    $('.'+endDate).val(end_Date);
  }
</script>
<!-- <div class="list-menu">
  <form method="get">
    <input type="text" name="keyword" class="search-ipt" value="{$keyword}" id="keywords" placeholder="请输入产品ID或者名称">
    
  </form>
</div> -->
<div class="search">
  <div>
    <input type="text" name="keyword" class="input-m" value="{$keyword}" id="keywords" placeholder="请输入产品ID或者名称">
    <input class="Wdate input-s" type="text" onClick="WdatePicker()" id="startDate">
    -
    <input class="Wdate input-s" type="text" onClick="WdatePicker()"  id="endDate">
    <input type="submit" class="button-green" value="查  询" id="keyword">
  </div>
<!--   <div>
    <form method="post" action="{:U(MODULE_NAME.'/Product/local_info_exportlist')}" style="float:left;">
      <input type="hidden" value="" class="startDate" name="startDate" >
      <input type="hidden" value="" class="endDate" name="endDate" >
      <input type="submit" class="button-blue" value="导出所有信息" onclick="set_click('startDate','endDate')" >
    </form>
    <form method="post" action="{:U(MODULE_NAME.'/Product/local_info_exportedit')}" style="float:left;">
      <input type="hidden" value="" class="startDate" name="startDate" >
      <input type="hidden" value="" class="endDate" name="endDate" >
      <input type="submit" class="button-blue" value="导出修改信息" onclick="set_click('startDate','endDate')" >
    </form>
  </div> -->
</div>

<div class="operate2">
  <ul>
    <li onclick="set_click('startDate','endDate')">
      <form method="post" action="{:U(MODULE_NAME.'/Product/local_info_exportlist')}" style="float:left;">
      <input type="hidden" value="" class="startDate" name="startDate" >
      <input type="hidden" value="" class="endDate" name="endDate" >
      <span class="icon-export01"></span><input type="submit" class="button-return" style="border:none; background:none; padding:0;" value="导出所有信息">
    </form>
    </li>
    <li onclick="set_click('startDate','endDate')">
     <form method="post" action="{:U(MODULE_NAME.'/Product/local_info_exportedit')}" style="float:left;">
      <input type="hidden" value="" class="startDate" name="startDate" >
      <input type="hidden" value="" class="endDate" name="endDate" >
       <span class="icon-export01"></span><input type="submit" class="button-return" style="border:none; background:none; padding:0;" value="导出修改信息">
    </form>
    </li>
  </ul>
  <div class="clear"></div>
</div>

<table class="list">
		<thead>
		<tr>
	        <th>订单号</th>
	        <th>姓名</th>
          <th>国内手机</th>
          <th>国外手机</th>
	        <th>邮箱地址</th>
          <th>是否落地签</th>
	        <th>录入时间</th>
	        <th>操作</th>
      	</tr>
		</thead>
 <tbody>
		<foreach name='list' item='v'>
        <tr>
           <td>{$v.orderID}</td>
           <td>{$v.customerName}</td>
           <td>{$v.customerMobileHome}</td>
           <td>{$v.customerMobile}</td>
           <td>{$v.customerEmail}</td>
           <td><if condition="$v['isLandingSign'] eq '1' ">是<else />否</if></td>
           <td><if condition="$v['editTime'] eq '0' ">{$v.addTime|date='Y-m-d H:i:s', ###}<else />{$v.editTime|date='Y-m-d H:i:s', ###}</if></td>
           <td><a href="{:U(MODULE_NAME.'/Product/local_info_edit',array('id' => $v['id']), '')}">详情</a></td>
       </tr>
      </foreach>
 </tbody>
</table>
<div class="page" style="clear: both;">{$page}</div>